package com.zy.mapper.sys;

import java.util.List;
import com.zy.model.sys.ZyRolePermission;
import com.zy.model.sys.ZyRolePermissionExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface ZyRolePermissionMapper {
    int countByExample(ZyRolePermissionExample example);

    int deleteByExample(ZyRolePermissionExample example);

    int insert(ZyRolePermission record);

    int insertSelective(ZyRolePermission record);

    List<ZyRolePermission> selectByExampleWithRowbounds(ZyRolePermissionExample example, RowBounds rowBounds);

    List<ZyRolePermission> selectByExample(ZyRolePermissionExample example);

    int updateByExampleSelective(@Param("record") ZyRolePermission record, @Param("example") ZyRolePermissionExample example);

    int updateByExample(@Param("record") ZyRolePermission record, @Param("example") ZyRolePermissionExample example);
}